WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory S

Total Complexity 30
Dependencies 13
Dependents 5
Total lines 263
Lines of code 139
Logical lines of code 69
Comment lines 84
Methods 6
Properties 7

Methods 6

Method Rating Maintainability Complexity Lines of code
from_paypal_response()
A
43 14 51
from_wc_cart()
S
49 6 33
from_wc_order()
S
49 5 34
shipping_needed()
S
67 3 8
__construct()
S
65 1 9
country_without_postal_code()
S
65 1 4